﻿<Window x:Class="PMisuseAn.AddActorWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Actor description" Height="420" Width="430" ResizeMode="NoResize" Margin="1" Icon="images\title.ico">
    <Grid Height="389" Width="409">
        <Grid.RowDefinitions>
            <RowDefinition Height="27*" />
            <RowDefinition Height="110*" />
            <RowDefinition Height="68*" />
            <RowDefinition Height="68" />
        </Grid.RowDefinitions>
        <Label Content="Actor name:" Height="23" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" ClipToBounds="True" Margin="0,-2,0,0" />
        <TextBox Height="25" HorizontalAlignment="Left" Name="actor_name_tb" VerticalAlignment="Top" Width="333" Background="#FFDDE3EB" Margin="76,0,0,0" />
        <Button Content="Add actor attributes" Name="actorAttribute_b" Style="{StaticResource LinkButton}" Margin="0,28,0,165" Click="actorAttribute_b_Click" HorizontalAlignment="Left" Width="126" Grid.RowSpan="2" />
        <!--<FlowDocumentReader Grid.ColumnSpan="2" Grid.RowSpan="3" Height="326" HorizontalAlignment="Left" Margin="0,11,0,0" Name="actors_attributes_fdr" VerticalAlignment="Top" Grid.Row="1" Width="319" IsTwoPageViewEnabled="False" IsTabStop="False" IsScrollViewEnabled="true" IsPrintEnabled="False" Padding="1" BorderThickness="1" IsFindEnabled="True" ViewingMode="Scroll" SnapsToDevicePixels="False" MinZoom="95" MaxZoom="120" IsPageViewEnabled="False">
            <FlowDocumentReader.Document>
                <FlowDocument Name="actors_attributes_fd" PagePadding="3">
                    <Table Name="actors_t" FontSize="12" CellSpacing="0">
                        <Table.Columns>
                            <TableColumn Width="30" />                            
                            <TableColumn Width="175" />
                            <TableColumn Width="75" />
                            <TableColumn Width="17" />
                        </Table.Columns>
                        <TableRowGroup Name="actors_attributes_trg">
                            <TableRow Background ="AliceBlue">
                                <TableCell>
                                    <Paragraph FontSize="11" TextDecorations="underline">No</Paragraph>
                                </TableCell>
                                <TableCell>
                                    <Paragraph FontSize="11" TextDecorations="underline">Attribute</Paragraph>
                                </TableCell>
                                <TableCell>
                                    <Paragraph FontSize="11" TextDecorations="underline">Private</Paragraph>
                                </TableCell>
                                <TableCell>
                                    <Paragraph FontSize="11">
                                        <Image Source="images\delete.png" Width="12" />
                                    </Paragraph>
                                </TableCell>
                            </TableRow>
                        </TableRowGroup>
                        <Table.Background>
                            <SolidColorBrush />
                        </Table.Background>
                    </Table>
                </FlowDocument>
            </FlowDocumentReader.Document>
        </FlowDocumentReader>-->
        <Button Style="{StaticResource LinkButton_no_underline}" Height="22" HorizontalAlignment="Left" Margin="384,25,0,0" Name="actor_desc_b" VerticalAlignment="Top" Width="24" Click="actorDesc_b_Click" Grid.RowSpan="2">
           <Image Source="images\save.png" />
        </Button>
        <ListBox Height="169" HorizontalAlignment="Left" Margin="1,6,0,0" Name="actor_atts_lb" VerticalAlignment="Top" Width="407" Grid.Row="1" Grid.RowSpan="2" />
        <ListBox Height="123" HorizontalAlignment="Left" Margin="1,43,0,0" Name="actor_roles_lb" VerticalAlignment="Top" Width="407" Grid.Row="2" Grid.RowSpan="2" />
        <TextBox Background="#FFDDE3EB" Height="23" HorizontalAlignment="Left" Margin="241,19,0,0" Name="actorRole_tb" VerticalAlignment="Top" Width="120" Grid.Row="2" FontSize="11" />
        <Label ClipToBounds="True" Content="New Role:" Height="23" HorizontalAlignment="Left" Margin="181,19,0,0" Name="label3" VerticalAlignment="Top" Grid.Row="2" />
        <Button Content="Define" Grid.Row="2" Height="23" HorizontalAlignment="Left" Margin="363,19,0,0" Name="newActorRole_b" VerticalAlignment="Top" Width="45" Click="newActorRole_b_Click" />
    </Grid>
</Window>
